using System;
using System.Web.Profile;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using ClickSocial.Framework;

namespace ClickSocial
{
    public partial class InfoFotografo: CDefault
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            if (!string.IsNullOrEmpty(Request["uf"]))
            {
                MembershipUser u = Membership.GetUser(Convert.ToString(Request["uf"]));
                
                if (u != null)
                {
                    PerfilComun p = ProfileBase.Create(u.UserName) as PerfilComun;

                    lblUserFotografo.Text = u.UserName;
                    lblNombreApellido.Text = p.Nombre + " " + p.Apellido;
                    lblEmail.Text = u.Email;
                    lblTel.Text = p.Telefono;
                    lblCelular.Text = p.Celular;
                    lblDireccion.Text = p.Direccion;
                    lblCiudad.Text = p.Ciudad;
                    lblPcia.Text = p.Provincia;
                    lblPais.Text = p.Pais;
                }
            }
        }
    }
}
